package com.train.mgr.modules.biz.dto.request;

import com.train.mgr.modules.system.dto.request.groups.Insert;
import com.train.mgr.modules.system.dto.request.groups.Update;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author cxg
 * @desc UserPageReqDTO
 * @date 2024/03/09 18:05
 **/
@Data
public class CheckEmpReqDTO implements Serializable {
    /**
     * 用户id
     */
    @ApiModelProperty(name = "id", value = "用户id")
    private Long id;
    /**
     * 用户名
     */
    @ApiModelProperty(name = "username", value = "用户名")
    @NotBlank(message = "用户名必填", groups = {Insert.class, Update.class})
    private String username;

}
